package com.colortea.service.impl;

import javax.annotation.Resource;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;

import com.colortea.entity.ShippingAddressT;
import com.colortea.service.ShippingAddressTService;
import com.colortea.dao.ShippingAddressTDao;

@Service("shippingAddressTService")
@Scope("prototype")
public class ShippingAddressTServiceImpl extends BaseTServiceImpl<ShippingAddressT>implements ShippingAddressTService {
	@Resource
	private ShippingAddressTDao shippingAddressTDao;

	public ShippingAddressTDao getShippingAddressTDao() {
		return shippingAddressTDao;
	}

	public void setShippingAddressTDao(ShippingAddressTDao shippingAddressTDao) {
		this.shippingAddressTDao = shippingAddressTDao;
	}
	public ShippingAddressT findShippingAddressByOrderid(String orderid, String state) {
		return this.getShippingAddressTDao().findShippingAddressByOrderid(orderid, state);
	}
}	
